<?php
header("Content-Type:text/html; charset=utf-8");  
include_once "class.httpdownload.php";  
$file = "http://t.imozhu.com/Test.zip"; //服务器文件名,包括路径   
$filename = "t.zip";    //下载另存为的文件名   
if (!$file || !file_exists($file)) {  
	echo("您要下载的文件不存在，单击<a href=\"index.php\" mce_href=\"down.php\">这里</a>返回首页。");  
exit();  
}  
$object = new httpdownload();  
$object->set_byfile($file);  
$object->filename = $filename;  
$object->download();  
?>